﻿using System;

namespace Entities
{
    [Serializable]
    public class CapNhatGiaHangHoa
    {
        private int capNhatGiaHangHoaID;
        private string maCapNhatGiaHangHoa;
        private DateTime ngayCapNhat;
        private string nhanVien;
        private string ghiChu;
        private bool deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public CapNhatGiaHangHoa()
        { }
        public CapNhatGiaHangHoa(string maCapNhatGiaHangHoa)
        {
            this.maCapNhatGiaHangHoa = maCapNhatGiaHangHoa;
        }
        public CapNhatGiaHangHoa(string maCapNhatGiaHangHoa, DateTime ngayCapNhat, string nhanVien, string ghiChu, bool deleted)
        {
            this.taiKhoan = taiKhoan;
            this.maCapNhatGiaHangHoa = maCapNhatGiaHangHoa;
            this.ngayCapNhat = ngayCapNhat;
            this.nhanVien = nhanVien;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public CapNhatGiaHangHoa( string maCapNhatGiaHangHoa, DateTime ngayCapNhat, string nhanVien, string ghiChu, bool deleted,Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.maCapNhatGiaHangHoa = maCapNhatGiaHangHoa;
            this.ngayCapNhat = ngayCapNhat;
            this.nhanVien = nhanVien;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }

        public int CapNhatGiaHangHoaID
        {
            get { return this.capNhatGiaHangHoaID; }
            set
            {
                this.capNhatGiaHangHoaID = value;
            }
        }
        public string MaCapNhatGiaHangHoa
        {
            get { return this.maCapNhatGiaHangHoa; }
            set
            {
                this.maCapNhatGiaHangHoa = value;
            }
        }
        public DateTime NgayCapNhat
        {
            get { return this.ngayCapNhat; }
            set
            {
                this.ngayCapNhat = value;
            }
        }
        public string NhanVien
        {
            get { return this.nhanVien; }
            set
            {
                this.nhanVien = value;
            }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

        Entities.ChiTietCapNhatGiaHangHoa[] chitietcapnhatgiahanghoa;

        public Entities.ChiTietCapNhatGiaHangHoa[] ChiTietCapNhatGiaHangHoa
        {
            get { return this.chitietcapnhatgiahanghoa; }
            set { this.chitietcapnhatgiahanghoa = value; }
        }


    }
}